/*
 * cmcdemo
 * Copyright (C) 2018.  e2x.io
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.volvocars.v2x.cmcdemo.car;

import com.volvocars.v2x.cmcdemo.car.vo.Location;
import com.volvocars.v2x.cmcdemo.car.vo.LocationWGS84;

public class CarLocationUtils {
    public static Location wgs84ToGlobal(LocationWGS84 locationWGS84){
        //
        return new Location();
    }
    public static LocationWGS84 globalTowgs84(Location location){
        return new LocationWGS84();
    }
    public static LocationWGS84 pressLocationString(String lat,String lng,String elev){
        LocationWGS84 rs = new LocationWGS84();
        rs.setElevation(Long.parseLong(elev));
        rs.setLatitude(Long.parseLong(lat));
        rs.setLongitude(Long.parseLong(lng));
        return rs;
    }

}
